<template>
  <div class="title wrap">
    <img :src="imgSrc" alt="" /><span>{{ title1 }}</span>

    <a href="" v-show="title1 != '积分攻略'">
      <span>更多</span>
      <img src="../../assets/img/arrow.png" alt=""
    /></a>
  </div>
</template>
 
<script>
export default {
  props: ['imgSrc', 'title1'],
  data() {
    return {}
  }
}
</script>
 
<style lang = "less" scoped>
.title {
  padding: 15px 0px;
  height: 30px;

  img,
  span {
    margin-left: 10px;

    display: inline-block;
    vertical-align: middle;
  }
  a {
    float: right;
    margin-top: 10px;
    img {
      width: 14px;
      height: 14px;
    }
  }
}
</style>